package day12.afternoon1;

/**
 * 飞机类
 */
public class Plane implements Fly{
    /** 飞机的类型 */
    private String type;
    public Plane(){}
    public Plane(String type){
        this.type = type;
    }
    @Override
    public void fly() {
        System.out.println(this.type + "会飞");
    }
}
